<div class="order-detail">
    <?php if($this->details){?>
    <table>
        <tr class="header">
            <th width="50">STT</th>
            <th width="100">Mã sản phẩm</th>
            <th width="200">Tên sản phẩm</th>
            <th width="100">Số lượng</th>
        </tr>
        <?php $count = 1; foreach ($this->details as $item_detail){
        
            ?>
            <tr>
                <td style="text-align: center"><?php echo $count?></td>
                <td style="text-align: center"><?php echo $item_detail['product_id']?></td>
                <td style="text-align: center"><?php echo $item_detail['product_name']?></td>
                <td style="text-align: center"><?php echo $item_detail['quantity']?></td>
            </tr>
        <?php 
            $count++;
        }?>
    </table>
    <?php }?>
</div>